package com.hzncc.flowable_diboot.mapper.invoicemanage;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzncc.flowable_diboot.delivery.dto.DeliveryFormDTO;
import com.hzncc.flowable_diboot.delivery.entity.DeliveryRegister;
import com.hzncc.flowable_diboot.dto.invoicemanage.InvoiceFormDTO;
import com.hzncc.flowable_diboot.entity.invoicemanage.InvoiceRegister;
import com.diboot.core.mapper.BaseCrudMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 开票登记 相关Mapper层接口定义
* @author MyName
* @version 1.0
* @date 2024-11-06
* Copyright © MyCorp
*/
@Mapper
public interface InvoiceRegisterMapper extends BaseCrudMapper<InvoiceRegister> {

    List<InvoiceRegister> getInvoiceForms(@Param("invoiceFormDTO") InvoiceFormDTO invoiceFormDTO);
    
    List<InvoiceRegister> getInvoiceForms(@Param("invoiceFormDTO") InvoiceFormDTO invoiceFormDTO, @Param("page") IPage page);

}